<?php

namespace YouBaoLian\Application\Request;

use YouBaoLian\Application\Response\VehicleNoCarProductDetailResponse;

class VehicleNoCarProductDetailRequest extends Request
{

    /**
     * 报价配置ID
     * @var int $configId
     */
    private $configId = 0;

    /**
     * 保司ID
     * @var int $supplierId
     */
    private $supplierId = 0;

    /**
     * 产品编码
     * @var string $productCode
     */
    private $productCode = '';

    /**
     * 产品类型
     * @var string $productType
     */
    private $productType = '';

    /**
     * 版本号
     * @var string $version
     */
    private $version = '';

    /**
     * 方案编码
     * @var string $planCode
     */
    private $planCode = '';

    /**
     * 城市编码
     * @var string $cityCode
     */
    private $cityCode = '';

    protected $method = 'iebcVehicle.nocarProductDetail';

    protected $response = VehicleNoCarProductDetailResponse::class;

    public function getBizContent(): array
    {
        return [
            'configId' => $this->configId,
            'supplierId' => $this->supplierId,
            'productCode' => $this->productCode,
            'productType' => $this->productType,
            'version' => $this->version,
            'planCode' => $this->planCode,
            'cityCode' => $this->cityCode
        ];
    }

    /**
     * @param int $configId
     */
    public function setConfigId(int $configId): void
    {
        $this->configId = $configId;
    }

    /**
     * @param int $supplierId
     */
    public function setSupplierId(int $supplierId): void
    {
        $this->supplierId = $supplierId;
    }

    /**
     * @param string $productCode
     */
    public function setProductCode(string $productCode): void
    {
        $this->productCode = $productCode;
    }

    /**
     * @param string $productType
     */
    public function setProductType(string $productType): void
    {
        $this->productType = $productType;
    }

    /**
     * @param string $version
     */
    public function setVersion(string $version): void
    {
        $this->version = $version;
    }

    /**
     * @param string $planCode
     */
    public function setPlanCode(string $planCode): void
    {
        $this->planCode = $planCode;
    }

    /**
     * @param string $cityCode
     */
    public function setCityCode(string $cityCode): void
    {
        $this->cityCode = $cityCode;
    }


}
